AXIS#.SWLS.EN
Description
This parameter enables the software travel limit switches.
-
- The software limit switches are only active if the axis is homed.
Examples
Usage
0: Disable both software limit switches
1: Enable software limit switch 0, AXIS#.SWLS.LIMIT0
2: Enable software limit switch 1, AXIS#.SWLS.LIMIT1
3: Enable both software limit switches
If AXIS#.SWLS.EN = 3, then whichever limit switch is set to a greater value will be used as the upper limit switch. For all other values of AXIS#.SWLS.EN, use AXIS#.SWLS.LIMIT0 for the lower limit switch and AXIS#.SWLS.LIMIT1 for the upper limit switch.
Code
Axis 1 lower limit switch set to 1000 and upper limit switch set to 5000. Axis 1 home position is set and then both software limit switches are enabled.
-->AXIS1.SWLS.LIMIT0 1000 -->AXIS1.SWLS.LIMIT1 5000 -->AXIS1.HOME.SET -->AXIS1.SWLS.EN 3
Context
For more information on limit switches, refer to Limits.
Versions
| Action | Version | Notes |
|---|---|---|
| Implemented | 02-00-00-000 |
General Information
| Type | Read/Write |
| Units | N/A |
| Range | 0 to 3 |
| Default Value | 0 |
| Data Type | Integer |
| See Also | AXIS#.SWLS.STATE, AXIS#.SWLS.LIMIT0, AXIS#.SWLS.LIMIT1 |
| Stored in Non Volatile Memory | Yes |
Variants Supported
All variants are supported.
Fieldbus Information
| Fieldbus |
Parameter | Index | Sub-Index | Data Type | Float Scale | Units | Access | PDO Mappable |
|---|---|---|---|---|---|---|---|---|
| EtherCAT |
AXIS1.SWLS.EN | 0x500F | 0x1 | USINT | - | - | RW | False |
| AXIS2.SWLS.EN | 0x510F | 0x1 | USINT | - | - | RW | False |





